﻿using System;

namespace OMC.DataManagement
{
    /// <summary>
    /// this represent a menu item of the context menu
    /// </summary>
    /// <remarks>
    /// Copyright 2012 Stefan Lütolf
    /// </remarks>
    public class MenuItem
    {
        /// <summary>
        /// Folder name of the menu item
        /// </summary>
        public string FolderName { get; set; }

        /// <summary>
        /// probability in percent (%)
        /// </summary>
        public int probability { get; set; }

        /// <summary>
        /// constructor to create a menu item
        /// </summary>
        /// <param name="inFolderName">name of the folder</param>
        /// <param name="inProbability">probability in percent (%), only int allowed</param>
        public MenuItem(String inFolderName, int inProbability)
        {
            this.FolderName = inFolderName;
            this.probability = inProbability;
        }
    }
}